Wordpress\Play\Helpers S

Total Complexity 44
Dependencies 1
Dependents 3
Total lines 235
Lines of code 105
Logical lines of code 65
Comment lines 91
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_admin_post_type()
A
56 11 17
get_visitor_IP()
S
62 7 11
sanitize_text_field_with_linebreaks()
S
57 4 16
is_valid_url()
S
65 4 9
is_post_type_supported()
S
62 3 11
sanitize_hex_color()
S
66 3 9
sanitize_hex_color_no_hash()
S
68 3 7
redirect()
S
67 3 7
is_plugin_active()
S
70 2 6
is_plugin_inactive()
S
70 2 6
plugin_version()
S
80 1 3
has_draft()
S
78 1 3